Other Protocols

The following protocols are available globally.

  • Data source for DingiComputedShapeSource. This protocol defines two optional methods for fetching data, one based on tile coordinates, and one based on a bounding box. Classes that implement this protocol must implement one, and only one of the methods. Methods on this protocol will not be called on main thread, they will be called on the caller’s requestQueue.

    See more

    Declaration

    Objective-C

    @protocol DingiComputedShapeSourceDataSource <NSObject>

    Swift

    protocol DingiComputedShapeSourceDataSource : NSObjectProtocol
  • An object conforming to the DingiOfflineRegion protocol determines which resources are required by an DingiOfflinePack object.

    See more

    Declaration

    Objective-C

    @protocol DingiOfflineRegion <NSObject>

    Swift

    protocol DingiOfflineRegion : NSObjectProtocol
  • The DingiOfflineStorageDelegate protocol defines methods that a delegate of an DingiOfflineStorage object can optionally implement to transform various types of URLs before downloading them via the internet.

    See more

    Declaration

    Objective-C

    @protocol DingiOfflineStorageDelegate <NSObject>

    Swift

    protocol DingiOfflineStorageDelegate : NSObjectProtocol